<script setup lang="ts">
import ContractPage from '@/views/contract/components/ContractPage.vue'
import { useRouter } from 'vue-router';
const leftBack = () => history.back()
const router = useRouter()
const type = router.currentRoute.value.params.id
</script>

<template>
    <van-nav-bar
        title="我的合约"
        left-arrow
        @click-left="leftBack"
    />
    <ContractPage :type="type"/>
</template>


<style scoped>
body{
    background: #f5f5f5;
}
</style>